package com.system;

public class SystemDemo {
    public static void main(String[] args) {
     int[] arr1 = {55,77,0,88,22,44,33};
 //   请编程实现：将后四个数字依次前移一位，移动后，最后一位置为0.
     int[]arr2=new int[arr1.length];
     System.arraycopy(arr1,0,arr2,0,3);
        for (int i = 0; i < arr2.length; i++) {
            System.out.print(arr2[i]+" ");
        }
    }
}
